package com.erp.erp_ui.TaskInfo.req;


import com.erp.erp_ui.warehouse.req.AddResourceSamplesDetailReq;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName : AddProductionReq
 * @Description : 任务明细新增入参实体
 * @Author : lst
 * @Date: 2020-11-30 18:03
 */
public class AddProductionReq {

    /**
     * 任务商品ID
     */
    private Integer taskproductid;
    /**
     * 任务主表ID
     */
    private Integer taskid;
    /**
     * 产品ID
     */
    private Integer productid;

    /**
     * 产品图片
     */
    private String img;

    /**
     * 规格ID
     */
    private Integer specid;

    /**
     * 产品条码
     */
    private String barcode;

    /**
     * 产品编码
     */
    private String goodscode;

    /**
     * 规格编码
     */
    private String specno;

    /**
     * 规格说明
     */
    private String goodsspec;

    /**
     * 客户货号
     */
    private String custgoodscode;

    /**
     * 中文名称
     */
    private String goodscname;
    /**
     * 中文描述
     */
    private String goodscdesc;
    /**
     * 英文名称
     */
    private String goodsename;
    /**
     * 英文描述
     */
    private String goodsedesc;

    /**
     * 数量
     */
    private Integer goodsnum;

    /**
     * 产品单位
     */
    private String goodsunit;

    /**
     * 单价
     */
    private BigDecimal unitprice;

    /**
     * 金额小计
     */
    private BigDecimal amountsubtotal;

    /**
     * 颜色
     */
    private String color;

    /**
     * 海关名称
     */
    private Integer customscode;

    /**
     * 报关品名
     */
    private Integer customscommodity;

    /**
     * 英文品名
     */
    private Integer englishname;

    /**
     * 报关单位
     */
    private String customsdeclarationunits;

    /**
     * 进口关税
     */
    private BigDecimal importduties;

    /**
     * 退税率
     */
    private BigDecimal drawbackrate;
    /**
     * 增值税率
     */
    private BigDecimal addtaxrate;

    /**
     * 外包装长
     */
    private BigDecimal packlong;

    /**
     * 外包装宽
     */
    private BigDecimal packwide;

    /**
     * 外包装高
     */
    private BigDecimal packhigh;

    /**
     * 外包装说明
     */
    private BigDecimal descriptionouterpacking;

    /**
     * 任务明细配件集合
     */
    private List<AddProductionDatailsReq> details;

    public Integer getTaskproductid() {
        return taskproductid;
    }

    public void setTaskproductid(Integer taskproductid) {
        this.taskproductid = taskproductid;
    }

    public Integer getTaskid() {
        return taskid;
    }

    public void setTaskid(Integer taskid) {
        this.taskid = taskid;
    }

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getSpecid() {
        return specid;
    }

    public void setSpecid(Integer specid) {
        this.specid = specid;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getGoodscode() {
        return goodscode;
    }

    public void setGoodscode(String goodscode) {
        this.goodscode = goodscode;
    }

    public String getSpecno() {
        return specno;
    }

    public void setSpecno(String specno) {
        this.specno = specno;
    }

    public String getGoodsspec() {
        return goodsspec;
    }

    public void setGoodsspec(String goodsspec) {
        this.goodsspec = goodsspec;
    }

    public String getCustgoodscode() {
        return custgoodscode;
    }

    public void setCustgoodscode(String custgoodscode) {
        this.custgoodscode = custgoodscode;
    }

    public String getGoodscname() {
        return goodscname;
    }

    public void setGoodscname(String goodscname) {
        this.goodscname = goodscname;
    }

    public String getGoodscdesc() {
        return goodscdesc;
    }

    public void setGoodscdesc(String goodscdesc) {
        this.goodscdesc = goodscdesc;
    }

    public String getGoodsename() {
        return goodsename;
    }

    public void setGoodsename(String goodsename) {
        this.goodsename = goodsename;
    }

    public String getGoodsedesc() {
        return goodsedesc;
    }

    public void setGoodsedesc(String goodsedesc) {
        this.goodsedesc = goodsedesc;
    }

    public Integer getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    public String getGoodsunit() {
        return goodsunit;
    }

    public void setGoodsunit(String goodsunit) {
        this.goodsunit = goodsunit;
    }

    public BigDecimal getUnitprice() {
        return unitprice;
    }

    public void setUnitprice(BigDecimal unitprice) {
        this.unitprice = unitprice;
    }

    public BigDecimal getAmountsubtotal() {
        return amountsubtotal;
    }

    public void setAmountsubtotal(BigDecimal amountsubtotal) {
        this.amountsubtotal = amountsubtotal;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Integer getCustomscode() {
        return customscode;
    }

    public void setCustomscode(Integer customscode) {
        this.customscode = customscode;
    }

    public Integer getCustomscommodity() {
        return customscommodity;
    }

    public void setCustomscommodity(Integer customscommodity) {
        this.customscommodity = customscommodity;
    }

    public Integer getEnglishname() {
        return englishname;
    }

    public void setEnglishname(Integer englishname) {
        this.englishname = englishname;
    }

    public String getCustomsdeclarationunits() {
        return customsdeclarationunits;
    }

    public void setCustomsdeclarationunits(String customsdeclarationunits) {
        this.customsdeclarationunits = customsdeclarationunits;
    }

    public BigDecimal getImportduties() {
        return importduties;
    }

    public void setImportduties(BigDecimal importduties) {
        this.importduties = importduties;
    }

    public BigDecimal getDrawbackrate() {
        return drawbackrate;
    }

    public void setDrawbackrate(BigDecimal drawbackrate) {
        this.drawbackrate = drawbackrate;
    }

    public BigDecimal getAddtaxrate() {
        return addtaxrate;
    }

    public void setAddtaxrate(BigDecimal addtaxrate) {
        this.addtaxrate = addtaxrate;
    }

    public BigDecimal getPacklong() {
        return packlong;
    }

    public void setPacklong(BigDecimal packlong) {
        this.packlong = packlong;
    }

    public BigDecimal getPackwide() {
        return packwide;
    }

    public void setPackwide(BigDecimal packwide) {
        this.packwide = packwide;
    }

    public BigDecimal getPackhigh() {
        return packhigh;
    }

    public void setPackhigh(BigDecimal packhigh) {
        this.packhigh = packhigh;
    }

    public BigDecimal getDescriptionouterpacking() {
        return descriptionouterpacking;
    }

    public void setDescriptionouterpacking(BigDecimal descriptionouterpacking) {
        this.descriptionouterpacking = descriptionouterpacking;
    }

    public List<AddProductionDatailsReq> getDetails() {
        return details;
    }

    public void setDetails(List<AddProductionDatailsReq> details) {
        this.details = details;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ResourceSamplesDetailEntity").append('[')
                .append("taskid=")
                .append(taskid)
                .append(",taskproductid=")
                .append(taskproductid)
                .append(",img=")
                .append(img)
                .append(",productid=")
                .append(productid)
                .append(",specid=")
                .append(specid)
                .append(",barcode=")
                .append(barcode)
                .append(",goodscode=")
                .append(goodscode)
                .append(",specno=")
                .append(specno)
                .append(",goodsspec=")
                .append(goodsspec)
                .append(",custgoodscode=")
                .append(custgoodscode)
                .append(",goodscname=")
                .append(goodscname)
                .append(",goodscdesc=")
                .append(goodscdesc)
                .append(",goodsename=")
                .append(goodsename)
                .append(",goodsedesc=")
                .append(goodsedesc)
                .append(",goodsnum=")
                .append(goodsnum)
                .append(",goodsunit=")
                .append(goodsunit)
                .append(",unitprice=")
                .append(unitprice)
                .append(",amountsubtotal=")
                .append(amountsubtotal)
                .append(",color=")
                .append(color)
                .append(",customscode=")
                .append(customscode)
                .append(",customscommodity=")
                .append(customscommodity)
                .append(",englishname=")
                .append(englishname)
                .append(",customsdeclarationunits=")
                .append(customsdeclarationunits)
                .append(",importduties=")
                .append(importduties)
                .append(",drawbackrate=")
                .append(drawbackrate)
                .append(",addtaxrate=")
                .append(addtaxrate)
                .append(",packlong=")
                .append(packlong)
                .append(",packwide=")
                .append(packwide)
                .append(",packhigh=")
                .append(packhigh)
                .append(",descriptionouterpacking=")
                .append(descriptionouterpacking)
                .append(",details=")
                .append(details)
                .append(']');
        return sb.toString();
    }
}
